package com.ruoyi.user.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 岗位管理对象 tb_posts
 * 
 * @author ruoyi
 * @date 2024-10-15
 */
public class TbPosts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 岗位id */
    private Long postId;

    /** 岗位 */
    @Excel(name = "岗位")
    private String post;

    /** 状态 */
    @Excel(name = "状态")
    private Integer state;

    public void setPostId(Long postId) 
    {
        this.postId = postId;
    }

    public Long getPostId() 
    {
        return postId;
    }
    public void setPost(String post) 
    {
        this.post = post;
    }

    public String getPost() 
    {
        return post;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("postId", getPostId())
            .append("post", getPost())
            .append("state", getState())
            .toString();
    }
}
